SectionGroup "Contrib Plugins" SECGRP_CONTRIB_PLUGINS

    # C::B contrib plugins begin

    Section /o "Auto Versioning plugin" SEC_AUTOVERSIONING
        SectionIn 1
        SetOutPath $INSTDIR\share\CodeBlocks
        SetOverwrite on
        File ${CB_SHARE_CB}\AutoVersioning.zip
        SetOutPath $INSTDIR\share\CodeBlocks\plugins
        File ${CB_PLUGINS}\AutoVersioning.dll
    SectionEnd

    Section /o "Browse Tracker plugin" SEC_BROWSETRACKER
        SectionIn 1
        SetOutPath $INSTDIR\share\CodeBlocks
        SetOverwrite on
        File ${CB_SHARE_CB}\BrowseTracker.zip
        SetOutPath $INSTDIR\share\CodeBlocks\plugins
        File ${CB_PLUGINS}\BrowseTracker.dll
    SectionEnd

    Section /o "Byo Games plugin" SEC_BYOGAMES
        SectionIn 1
        SetOutPath $INSTDIR\share\CodeBlocks
        SetOverwrite on
        File ${CB_SHARE_CB}\byogames.zip
        SetOutPath $INSTDIR\share\CodeBlocks\plugins
        File ${CB_PLUGINS}\byogames.dll
    SectionEnd

    Section /o "Code Snippets plugin" SEC_CODESNIPPETS
        SectionIn 1
        SetOutPath $INSTDIR\share\CodeBlocks
        SetOverwrite on
        File ${CB_SHARE_CB}\codesnippets.zip
        SetOutPath $INSTDIR\share\CodeBlocks\plugins
        File ${CB_PLUGINS}\codesnippets.dll
        SetOutPath $INSTDIR
        File ${CB_BASE}\codesnippets.exe
        SetOutPath $SMPROGRAMS\${CB_SM_GROUP}
        CreateShortcut "$SMPROGRAMS\${CB_SM_GROUP}\Code Snippets.lnk" $INSTDIR\codesnippets.exe
    SectionEnd

    Section /o "Code Stat plugin" SEC_CODESTAT
        SectionIn 1
        SetOutPath $INSTDIR\share\CodeBlocks
        SetOverwrite on
        File ${CB_SHARE_CB}\codestat.zip
        SetOutPath $INSTDIR\share\CodeBlocks\plugins
        File ${CB_PLUGINS}\codestat.dll
        SetOutPath $INSTDIR\share\CodeBlocks\images\settings
        File ${CB_IMG_SETTINGS}\codestats.png
        File ${CB_IMG_SETTINGS}\codestats-off.png
    SectionEnd

    Section /o "Copy Strings plugin" SEC_COPYSTRINGS
        SectionIn 1
        SetOutPath $INSTDIR\share\CodeBlocks
        SetOverwrite on
        File ${CB_SHARE_CB}\copystrings.zip
        SetOutPath $INSTDIR\share\CodeBlocks\plugins
        File ${CB_PLUGINS}\copystrings.dll
    SectionEnd

    Section /o "DevPak plugin" SEC_DEVPAK
        SectionIn 1
        SetOutPath $INSTDIR\share\CodeBlocks
        SetOverwrite on
        File ${CB_SHARE_CB}\devpakupdater.zip
        SetOutPath $INSTDIR\share\CodeBlocks\plugins
        File ${CB_PLUGINS}\devpakupdater.dll
    SectionEnd

    Section /o "Drag Scroll plugin" SEC_DRAGSCROLL
        SectionIn 1 4
        SetOutPath $INSTDIR\share\CodeBlocks
        SetOverwrite on
        File ${CB_SHARE_CB}\DragScroll.zip
        SetOutPath $INSTDIR\share\CodeBlocks\plugins
        File ${CB_PLUGINS}\DragScroll.dll
        SetOutPath $INSTDIR\share\CodeBlocks\images\settings
        File ${CB_IMG_SETTINGS}\dragscroll.png
        File ${CB_IMG_SETTINGS}\dragscroll-off.png
    SectionEnd

    Section /o "EnvVars plugin" SEC_ENVVARS
        SectionIn 1
        SetOutPath $INSTDIR\share\CodeBlocks
        SetOverwrite on
        File ${CB_SHARE_CB}\envvars.zip
        SetOutPath $INSTDIR\share\CodeBlocks\plugins
        File ${CB_PLUGINS}\envvars.dll
        SetOutPath $INSTDIR\share\CodeBlocks\images\settings
        File ${CB_IMG_SETTINGS}\envvars.png
        File ${CB_IMG_SETTINGS}\envvars-off.png
    SectionEnd

    Section /o "HeaderFixUp plugin" SEC_HEADERFIXUP
        SectionIn 1
        SetOutPath $INSTDIR\share\CodeBlocks
        SetOverwrite on
        File ${CB_SHARE_CB}\headerfixup.zip
        SetOutPath $INSTDIR\share\CodeBlocks\plugins
        File ${CB_PLUGINS}\headerfixup.dll
    SectionEnd

    Section /o "Help plugin" SEC_HELP
        SectionIn 1
        SetOutPath $INSTDIR\share\CodeBlocks
        SetOverwrite on
        File ${CB_SHARE_CB}\help_plugin.zip
        SetOutPath $INSTDIR\share\CodeBlocks\plugins
        File ${CB_PLUGINS}\help_plugin.dll
        SetOutPath $INSTDIR\share\CodeBlocks\images\settings
        File ${CB_IMG_SETTINGS}\help-plugin.png
        File ${CB_IMG_SETTINGS}\help-plugin-off.png
    SectionEnd

    Section /o "HexEditor plugin" SEC_HEXEDITOR
        SectionIn 1
        SetOutPath $INSTDIR\share\CodeBlocks
        SetOverwrite on
        File ${CB_SHARE_CB}\HexEditor.zip
        SetOutPath $INSTDIR\share\CodeBlocks\plugins
        File ${CB_PLUGINS}\HexEditor.dll
    SectionEnd

    Section /o "IncrementalSearch plugin" SEC_INCREMENTALSEARCH
        SectionIn 1
        SetOutPath $INSTDIR\share\CodeBlocks
        SetOverwrite on
        File ${CB_SHARE_CB}\IncrementalSearch.zip
        SetOutPath $INSTDIR\share\CodeBlocks\plugins
        File ${CB_PLUGINS}\IncrementalSearch.dll
    SectionEnd

    Section /o "Key Binder plugin" SEC_KEYBINDER
        SectionIn 1
        SetOutPath $INSTDIR\share\CodeBlocks
        SetOverwrite on
        File ${CB_SHARE_CB}\keybinder.zip
        SetOutPath $INSTDIR\share\CodeBlocks\plugins
        File ${CB_PLUGINS}\keybinder.dll
        SetOutPath $INSTDIR\share\CodeBlocks\images\settings
        File ${CB_IMG_SETTINGS}\onekeytobindthem.png
        File ${CB_IMG_SETTINGS}\onekeytobindthem-off.png
    SectionEnd

    Section /o "Koders plugin" SEC_KODERS
        SectionIn 1
        SetOutPath $INSTDIR\share\CodeBlocks
        SetOverwrite on
        File ${CB_SHARE_CB}\cb_koders.zip
        SetOutPath $INSTDIR\share\CodeBlocks\plugins
        File ${CB_PLUGINS}\cb_koders.dll
    SectionEnd

    Section /o "Lib Finder plugin" SEC_LIBFINDER
        SectionIn 1
        SetOutPath $INSTDIR\share\CodeBlocks
        SetOverwrite on
        File ${CB_SHARE_CB}\lib_finder.zip
        SetOutPath $INSTDIR\share\CodeBlocks\plugins
        File ${CB_PLUGINS}\lib_finder.dll
        SetOutPath $INSTDIR\share\CodeBlocks\lib_finder
        File ${CB_SHARE_CB}\lib_finder\*.xml
    SectionEnd

    Section /o "Profiler plugin" SEC_PROFILER
        SectionIn 1
        SetOutPath $INSTDIR\share\CodeBlocks
        SetOverwrite on
        File ${CB_SHARE_CB}\Profiler.zip
        SetOutPath $INSTDIR\share\CodeBlocks\plugins
        File ${CB_PLUGINS}\Profiler.dll
        SetOutPath $INSTDIR\share\CodeBlocks\images\settings
        File ${CB_IMG_SETTINGS}\profiler.png
        File ${CB_IMG_SETTINGS}\profiler-off.png
    SectionEnd

    Section /o "RegEx Testbed plugin" SEC_REGEXTESTBED
        SectionIn 1
        SetOutPath $INSTDIR\share\CodeBlocks
        SetOverwrite on
        File ${CB_SHARE_CB}\RegExTestbed.zip
        SetOutPath $INSTDIR\share\CodeBlocks\plugins
        File ${CB_PLUGINS}\RegExTestbed.dll
    SectionEnd

    Section /o "Exporter plugin" SEC_EXPORTER
        SectionIn 1 4
        SetOutPath $INSTDIR\share\CodeBlocks
        SetOverwrite on
        File ${CB_SHARE_CB}\Exporter.zip
        SetOutPath $INSTDIR\share\CodeBlocks\plugins
        File ${CB_PLUGINS}\Exporter.dll
    SectionEnd

    Section /o "SymTab plugin" SEC_SYMTAB
        SectionIn 1
        SetOutPath $INSTDIR\share\CodeBlocks
        SetOverwrite on
        File ${CB_SHARE_CB}\SymTab.zip
        SetOutPath $INSTDIR\share\CodeBlocks\plugins
        File ${CB_PLUGINS}\SymTab.dll
    SectionEnd

    Section /o "ThreadSearch plugin" SEC_THREADSEARCH
        SectionIn 1
        SetOutPath $INSTDIR\share\CodeBlocks
        SetOverwrite on
        File ${CB_SHARE_CB}\ThreadSearch.zip
        SetOutPath $INSTDIR\share\CodeBlocks\plugins
        File ${CB_PLUGINS}\ThreadSearch.dll
        SetOutPath $INSTDIR\share\CodeBlocks\images\settings
        File ${CB_IMG_SETTINGS}\ThreadSearch.png
        File ${CB_IMG_SETTINGS}\ThreadSearch-off.png
        SetOutPath $INSTDIR\share\CodeBlocks\images\ThreadSearch
        File ${CB_IMAGES}\ThreadSearch\*.png
    SectionEnd

    Section "wxSmith plugin" SEC_WXSMITH
        SectionIn 1 2
        SetOutPath $INSTDIR
        SetOverwrite on
        File ${CB_BASE}\wxsmithlib.dll
        SetOutPath $INSTDIR\share\CodeBlocks
        File ${CB_SHARE_CB}\wxsmith.zip
        File ${CB_SHARE_CB}\wxSmithContribItems.zip
        SetOutPath $INSTDIR\share\CodeBlocks\plugins
        File ${CB_PLUGINS}\wxsmith.dll
        File ${CB_PLUGINS}\wxSmithContribItems.dll
        SetOutPath $INSTDIR\share\CodeBlocks\images\settings
        File ${CB_IMG_SETTINGS}\wxsmith.png
        File ${CB_IMG_SETTINGS}\wxsmith-off.png
        SetOutPath $INSTDIR\share\CodeBlocks\images\wxsmith
        File ${CB_IMAGES}\wxsmith\*.png
    SectionEnd

    # C::B contrib plugins end

SectionGroupEnd

